<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header"></head>
<head>
    <!-- 必要的标签 -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Bootstrap CSS -->
    <link crossorigin="anonymous" integrity="sha512-6KY5s6UI5J7SVYuZB4S/CZMyPylqyyNZco376NM2Z8Sb8OxEdp02e1jkKk/wZxIEmjQ6DRCEBhni+gpr9c4tvA==" href="https://lib.baomitu.com/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<nav th:replace="layouts::navbar"></nav>
<div class="container">
    <form th:action="@{/comments/save}" th:object="${comment}" method="POST">
        <textarea type="text" placeholder="请输入内容" cols="100" rows="10" th:field="${comment.commentcontent}"></textarea><br /><br />
        <input type="text" placeholder="请输入联系" th:field="${comment.contact}"><br /><br />
        <button type="submit">提交</button>
    </form>
</div>
</body>
</html>